package com.wdd.atcrowdfunding.manager.service;

import com.wdd.atcrowdfunding.bean.Type;
import com.wdd.atcrowdfunding.util.Page;
import com.wdd.atcrowdfunding.vo.Data;

import java.util.List;
import java.util.Map;

public interface TypeService {
    List<Type> selectAll();

    Type queryById(Integer id);

    int updateType(Type type);

    void insertType(Type type);

    int deleteType(Integer id);

    int deleteTypes(Data ds);

    Page<Type> pageQuery(Map<String, Object> paramMap);
}
